home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 8
/
Night Owl CD-ROM (NOPV8) (Night Owl Publisher) (1993).ISO
/
034a
/
aecur101.arj
/
CONTRIB
/
CURSES
/
SRC
/
MAKEFILE
< prev
next >
Wrap
Text File
|
1992-05-31
|
946b
|
63 lines
# makefile for Curses! v. 3.X
# this makefile was written for GNUish MAKE
LONGARGS = gcc:ar
CFLAGS = -O -I../inc
%.o : %.c
gcc $(CFLAGS) -c $<
OBJECTS = \
alert.o \
boxwin.o \
cornerch.o \
drawbox.o \
expldwin.o \
line.o \
mvwin.o \
popmenu.o \
pmenuobj.o \
box.o \
calcpopy.o \
printw.o \
savescr.o \
overlay.o \
spooler.o \
kbbgtask.o \
teechar.o \
wcentstr.o \
wdelch.o \
werase.o \
wgetstr.o \
matchkey.o \
waddstr.o \
winflags.o \
winsch.o \
curses.o \
curstype.o \
delwin.o \
newwin.o \
wclrtoeo.o \
scroll.o \
wrefresh.o \
cvidintf.o \
markwin.o \
memsetw.o \
ckbdintf.o
CULIB = ..\lib\libcurses.a
all: $(LIBRARY) $(EXTRA)
$(CULIB) : $(OBJECTS)
ar rv $@ $?
ranlib $@
a.out: test.o $(LIBRARY)
gcc test.o -lcurses -lae -lpc
test.exe: test.o $(CULIB)
gcc test.o -o test $(CULIB) -lae -lpc
aout2exe test